express js clear cookie

61

express js clear cookie -

res.clearCookie("key");

how to delete cookie node js -

cookies.set('testtoken', {expires: Date.now()});

Comments

Submit
0 Comments